package com.ossjk.oa.advisory.mapper;

import com.ossjk.oa.advisory.entity.Customer;
import com.ossjk.oa.advisory.vo.CustomerVo;

import java.io.Serializable;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 客户信息表 Mapper 接口
 * </p>
 *
 * @author chair
 * @since 2019-02-15
 */
public interface CustomerMapper extends BaseMapper<Customer> {

	List selectVoPage(Page page, @Param("ew") Wrapper wrapper);

	String selectPostId(String eid);

	List<Customer> selectLastFollow(@Param("ew") Wrapper wrapper);

	int batchDelete(@Param("ids") List<? extends Serializable> ids);

	int batchUpdateRecovery(@Param("ids") List<? extends Serializable> ids);

}
